﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

namespace T.FAS.Runtime.Base.Common
{
    public static class ExceptionUtil
    {
        public static string GetExceptionMsg(Exception exception)
        {
            if (exception.InnerException != null)
            {
                return GetExceptionMsg(exception.InnerException);
            }
            else
            {
                return exception.Message;
            }
        }
    }
}
